package com.hackintosh.observer.oil;

import java.util.Observable;

/**
 * @description：原油期货
 * @author：twislyn
 * @date：Created in 2021/06/02
 * @modified By：
 * @version: 1.0
 */
public class OilFutures extends Observable {
    private float price;

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        super.setChanged();
        super.notifyObservers(price);
        this.price = price;
    }
}
